
.app{
    background-color: #f3f3f3;
}

/*header*/
.app>.app-header{
    height: 70px;
    background-color: #ffffff;
}

.app>.app-header>.app-header-content{
    position: relative;
    height: 100%;
}

.app>.app-header .collapse{
    position: absolute;
    height: 100%;
    top: 15px;
    left: 18px;
    font-size: 40px;
    display: none;
}

.app>.app-header .logo{
    height: 100%;
    margin: 0 auto;
}
.app>.app-header .logo img{
    height: 34px;
}

.app>.app-header .avatar{
    position: absolute;
    height: 100%;
    top: 0;
    right: 18px;
}

.app>.app-header .avatar>img{
    height: 40px;
    border-radius: 100%;
}

/*main*/
.app>.app-main{
    height: calc(100vh - 100px);
}

.app>.app-main>.app-main-content{
    display: flex;
    height: 100%;
}

.app>.app-main .app-aside{
    width: 250px;
    background-color: #2d4054;
    height: 100%;
}

.app-aside>.close{
    color: #00b4cf;
    font-size: 26px;
    padding: 16px 16px 20px;
    text-align: right;
    display: none;
}



/*aside*/
.app-aside>.menu{
    height: calc(100% - 320px);
    padding: 16px 0;
    overflow-y: auto;
}

.app-aside>.menu>.menu-item{
    height: 45px;
    line-height: 45px;
    color: #FFFFFF;
    padding: 0 30px;
    margin: 4px 0;
}

.app-aside>.menu>.menu-item:hover{
    background-color: #435366;
    color: #00b4cf;
}

.app-aside>.menu>.menu-item-active{
    border-right: 3px solid #ffffff;
}

.app-aside>.menu>.menu-item>[class*="icon-"]{
    margin-right: 12px;
    font-size: 20px;
}

.app-aside>.history{
    height: 320px;
    padding: 12px 0 12px 12px;
}

.app-aside>.history>.history-title{
    font-size: 24px;
    line-height: 24px;
    padding-bottom: 16px;
    color: #cccccc;
}

.app-aside>.history>.history-content{
    height: calc(100% - 40px);
    overflow-y: auto;
}

.app-aside>.history .history-content-item{
    font-size: 12px;
    color: #999999;
    line-height: 18px;
    padding: 4px 12px 4px 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.app-aside>.history .history-content-item:before {
    content:"•";
    padding-right: 20px;
}

.app-aside>.history .history-content-item:hover{
    color: #00b4cf;
}

/*view*/
.app>.app-main .app-view{
    width: calc(100% - 250px);
    height: calc(100vh - 100px);
    overflow-y: auto;
    padding: 18px;
}

/*footer*/
.app>.app-footer{
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 30px;
    line-height: 30px;
    text-align: center;
    background-color: #ffffff;
}

/*Desktop HD*/
@media screen and (min-width: 1200px) {
    .app>.app-main .app-aside{
        width: 270px;
    }
    .app>.app-main .app-view {
        width: calc(100% - 270px);
    }
}

/*Tablet and Phone*/
@media screen and (max-width: 1023px) {
    .app>.app-main .app-aside{
        position: fixed;
        height: 100%;
        top: 0;
        left: -250px;
        z-index: 2;
    }
    .app>.app-main{
        height: calc(100% - 100px);;
    }
    .app>.app-main .app-view {
        width: 100%;
    }
    .app>.app-header .collapse{
        display: block;
    }
    .app-aside>.close{
        display: block;
    }
    .app-aside>.menu{
        height: calc(100% - 378px);
    }
}

/*Tablet*/
@media screen and (min-width: 768px) and (max-width: 1023px) {

}

/*Phone*/
@media screen and (max-width: 767px) {

}